package com.gress.shop.constants;

public interface EmailConstants {

    /**
     * 邮件未发送
     */
    public final static String EMAIL_EMPTY = "0";

    /**
     * 邮件已发送
     */
    public final static String EMAIL_SEND = "1";

    /**
     * 邮件已经过期
     */
    public final static String EMAIL_OVERDUE = "2";

    /**
     * 邮件校验成功
     * **/
    public final static String EMAIL_CHECK_SUCCESS = "3";

    /**
     * 邮件校验失败
     */
    public final static String EMAIL_CHECK_FAILURE = "4";

    /**
     *  注册前缀 ,发送邮件带的code
     */
    public final static String EMAIL_CODE_REGISTER = "REGISTER";

    /**
     *  忘记密码前缀 ,发送邮件带的code
     */
    public final static String EMAIL_CODE_FORGET = "FORGET";


    public final static String EMAIL_MESSAGE_EMPTY = "邮箱未注册, 请重新输入!";


    public final static String EMAIL_EXIST_MESSAGE = "邮箱已经被注册,如需要请找回密码！";

    public final static String EMAIL_EXIST_RESEND = "邮箱已失效,已经重新发送！";

    public final static String EMAIL_EXIST_CHECK_FAIL = "邮件校验码校验失败！";



    interface Type{
        /**
         * 由系统发送
         * */
       String SYSTEM = "SYSTEM";

        /**
         * 用于存数据库表示这次邮件发送状态
         * */
        String SUCCESS = "SUCCESS";

        String ERROR = "ERROR";

        /**
         *  用于存储这次邮件的读取状态
         * */
        String NOT_CHECKED = "1";

        String CHECKED = "2";
    }

    interface ActionMail {

        String ADD_ACTION_SUBJECT = "新增权限成功";
        String ADD_ACTION_TEXT = "";


    }




}
